<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:f="http://java.sun.com/jsf/core"
 xmlns:h="http://java.sun.com/jsf/html">
<h:head>
	<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
	<link rel="stylesheet" href="../css/bootstrap-responsive.min.css" type="text/css" />
	<title>Cadastro Tipo de Imóvel</title>
</h:head>
 <h:body>
 <h2>Cad.Tipo de Imóvel</h2>
 <hr/> 
 <h:form>
 	<table>
 		<tr>
 			<td><h:outputLabel value="Descricao: " style="color:#FF0000;" /></td>
 			<td><h:inputText value="#{tipoImovelMB.descricao}" ></h:inputText></td>
 		</tr>
 		<tr>
 			<td><h:outputLabel value="Status: "/></td>
 			<td>
 				<h:selectOneMenu value="#{tipoImovelMB.status}">  
	    			<f:selectItem itemLabel="Ativado" itemValue="1" />  
	    			<f:selectItem itemLabel="Desativado" itemValue="0" />
				</h:selectOneMenu>
			</td>
		</tr> 
		<tr>
			<td><h:commandButton action="#{tipoImovelMB.save}" value="Gravar"  class="btn btn-primary"/><br/></td>
		</tr>
		<tr>
	   		<td><h:messages id="msgErro" style="color: red"></h:messages></td>
			<td><h:outputText value="#{tipoImovelMB.msgAviso}" /></td>
		</tr>
	</table> 
</h:form>
</h:body>
</html>
